// Copyright (c) Microsoft Corporation.  All rights reserved.

#include "stdafx.h"
#include "D3D10ShaderResourceView1.h"

using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D10;

ShaderResourceViewDescription1^ ShaderResourceView1::GetDescription1()
{
    ShaderResourceViewDescription1^ desc = gcnew ShaderResourceViewDescription1();
    GetInterface<ID3D10ShaderResourceView1>()->GetDesc1(desc->nativeObject.Get());
    return desc;
}

